//
//  SIStatusToolBar.swift
//  SinaImiate
//
//  Created by xiaoming on 16/7/6.
//  Copyright © 2016年 GoodJob. All rights reserved.
//

import UIKit

class SIStatusToolBar: UIView {
    
    @IBOutlet weak var retransmissionButton: UIButton!
    @IBOutlet weak var commentButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!
    
    ///底部视图模型
    var viewModel: SIStatusViewModel? {
        
        didSet {
//            
//            retransmissionButton.setTitle(viewModel?.status.reposts_count.description, for: [])
//            commentButton.setTitle(viewModel?.status.comments_count.description, for: [])
//            likeButton.setTitle(viewModel?.status.attitudes_count.description, for: [])
            retransmissionButton.setTitle(viewModel?.retweetedStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])
            
        }
    }

}
